Priority heuristic